package com.fuhao.strategy;
//与spring结合案例：https://www.jianshu.com/p/5ccf1706297d
public class Test {
	public static void main(String[] args) {
		ContextStrategy superStrategy = new ContextStrategy(new SuperMember());
		superStrategy.getMemberLevle();
		
		ContextStrategy VIPStrategy = new ContextStrategy(new VIPMember());
		VIPStrategy.getMemberLevle();
		
		ContextStrategy nomalStrategy = new ContextStrategy(new NomalMember());
		nomalStrategy.getMemberLevle();
	}
}
